/* Copyright (c) 2010 OFXKit
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#import <Foundation/Foundation.h>
#import "OFXAccount.h"

@interface OFXInvestmentAccount : OFXAccount {
  NSString* brokerId;
  bool checkWritingEnabled;
  NSString* optionTradingLevel;
  NSString* usProductType;
}

/**
 * @property brokerId
 * @brief Unique identifier for financial institution, A-22
 */
@property(retain) NSString* brokerId;

/**
 * @property checkWritingEnabled
 * @brief Whether the account has check writing privileges
 */
@property(assign) bool checkWritingEnabled;

/**
 * @property optionTradingLevel
 * @brief Text description of option trading privileges, A-40
 */
@property(retain) NSString* optionTradingLevel;

/**
 * @property usProductType
 * @brief Classifies accounts according to their account type
 *
 * Valid values are:
 * - 401K: A 401(k) account 
 * - 403B: A 403(b) account
 * - IRA: An IRA account
 * - KEOGH: Keogh (Money Purchase/Profit Sharing)
 * - OTHER: Other account type
 * - SARSEP: Salary Reduction Simplified Employer Pension Plan
 * - SIMPLE: Savings Incentive Match Plan for Employees
 * - NORMAL: Regular Account
 * - TDA: Tax Deferred Annuity
 * - TRUST: Trust (including UTMA)
 * - UGMA: Custodial account
 */
@property(retain) NSString* usProductType;

@end
